﻿
using DearlerPlatform.Domain;
using DearlerPlatfrom.Service.CustomerAppDto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DearlerPlatfrom.Service.CustomerApp
{
    public interface ICustomerService : IocTag
    {
        /// <summary>
        /// 用户编号获取真实数据
        /// </summary>
        /// <param name="customerNo"></param>
        /// <returns></returns>
        Task<Customer> GetCustomerAsync(string customerNo);

        /// <summary>
        /// 判断用户名密码
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<bool> CheckPassword(CustomerLoginDto dto);
    }
}
